Skip to content

Conversation

@tnadav
Copy link
Contributor

@tnadav tnadav commented Oct 28, 2025

This commit add type annotations for model load functions to allow type checkers to better understand the interaction with mlx-lm.
As a drive by, I removed mutable default values for the load, load_tokenizer and load_model functions.

Copy link
Member

@awni awni left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good, thanks!

@awni
Copy link
Member

awni commented Nov 5, 2025

Could you run the format hooks?

@tnadav
Copy link
Contributor Author

tnadav commented Nov 5, 2025

Could you run the format hooks?

Sure! Thanks for the review

@awni awni merged commit d3bf847 into ml-explore:main Nov 5, 2025
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants